package com.rsk.service.curriculum;

import java.util.List;
import java.util.Map;


public interface RskCourseService {
	
	/*
	 * 课程保存
	 */
	public int saveRskCourse(Long categoryId, String courseName, String courseIntroduction,
			String courseUrl, String courseCover, Integer isRecommend, Integer isOriginal,
			Integer isSee, Integer courseSource, Long operatorUser);
	
	/*
	 * 课程修改
	 */
	public int updateRskCourse(Long id, Long categoryId, String courseName, String courseIntroduction,
			String courseUrl, String courseCover, Integer isRecommend, Integer isOriginal,
			Integer isSee, Long operatorUser);
	
	/*
	 * 课程删除
	 */
	public int delRskCourse(Long id, Long operatorUser);
	
	/*
	 * 课程上架/下架
	 */
	public int updateRskCourseStatus(Long id, Integer courseStatus, Long operatorUser);
	
	/*
	 * 课程推荐/不推荐
	 */
	public int updateRskCourseRecommend(Long id, Integer isRecommend, Long operatorUser);
	
	/*
	 * 课程可试看/不可试看
	 */
	public int updateRskCourseSee(Long id, Integer isSee, Long operatorUser);
	
	/*
	 * 课程类目查询

	@SuppressWarnings("rawtypes")
	public PageUtils<Map> selectCourseByPage(String courseName, Integer categoryId, Integer isOriginal,
			Integer isSee, Integer isRecommend, Integer courseStatus, Integer nowPage, Integer pageSize);*/
	
}
